package io.gitee.zhangbinhub.admin.resource.server.vo

import io.swagger.v3.oas.annotations.media.Schema

/**
 * @author zhang by 14/06/2019
 * @since JDK 11
 */
@Schema(description = "流程历史记录")
data class ProcessHistoryActivityVo(
    @Schema(description = "流程实例id")
    var processInstanceId: String? = null,

    @Schema(description = "活动id")
    var activityId: String? = null,

    @Schema(description = "活动名称")
    var activityName: String? = null,

    @Schema(description = "任务id")
    var taskId: String? = null,

    @Schema(description = "任务定义键")
    var taskDefinitionKey: String? = null,

    @Schema(description = "执行实例id")
    var executionId: String? = null,

    @Schema(description = "业务键")
    var businessKey: String? = null,

    @Schema(description = "处理人")
    var user: UserVo? = null,

    @Schema(description = "审批意见")
    var comment: String? = null,

    @Schema(description = "审批是否通过")
    var pass: Boolean? = null,

    @Schema(description = "流程自定义参数")
    var params: MutableMap<String, Any> = mutableMapOf(),

    @Schema(description = "开始时间")
    var startTime: Long = 0,

    @Schema(description = "结束时间")
    var endTime: Long? = null
)
